package com.hoshiicloud.user.param.supppiler;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 新增租户机构附件
 * <p>
 * com_organization_attach参数
 * </p>
 *
 * @author campchen
 * @since 2019-04-28
 */

@Data
@ApiModel(value = "新增租户机构附件com_organization_attach", description = "新增租户机构附件com_organization_attach")
public class ComOrganizationAttachAddParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "attachmentTypeId",name = "证照id(模板id)",example = "1",required = true,dataType = "java.lang.Long")
    private Long attachmentTypeId;

    @ApiModelProperty(value = "附件地址", example = "hoshiicloud.com", required = true)
    @NotNull(message = "附件地址不能为空")
    private String attachUrl;

    @ApiModelProperty(value = "附件名称",example = "测试文件", required = true)
    @NotNull(message = "附件名称不能为空")
    private String attachName;

    @ApiModelProperty(value = "有效期", required = true)
    private String expirationDate;

    @ApiModelProperty(value = "创建人  由系统自动传递", required = true,example = "campchen")
    private String createdBy;

}
